@charset "utf-8";
/*!
 * Created by Toma on 2016-8-3 14:25:09
 * @file 干活上传小票 @ver 1.0.1
 */

@import "toma";
@include reset();
@include tools();

/* common */
$theme: #129d93;

@import "mdater";

%map{
  position: absolute;
  display: block;
}
.wapper{
  margin: 0 .75rem;
  padding-bottom: 2rem;
}
.caption{
  margin-bottom: .75rem;
  img {
    width: 100%;
  }
}
.bg-footer{
  background: url(../img/bg_bottom.jpg) no-repeat bottom center/ 100% auto;
}


/* 主页 */
.bg-index{
  position: absolute;
  width: 100%;
  min-height: 100%;
  padding-top: 157%;
  background: url(../img/start_bg.jpg) #b5c1cd no-repeat top center/ 100% auto;
}
.btn-map-index{
  position: absolute;
  top: 24.6rem;
  left: 50%;
  margin-left: -3.6rem;
  display: block;
  width: 7.15rem;
  height: 1.9rem;
}


/* 输入框 */
.input-group{
  font-size: 0;
  margin-bottom: .7rem;
  .input-label{
    display: inline-block;
    width: 4.5rem;
    font-size: .8rem;
    //vertical-align: middle;
    color: #4d4d4d;
    text-align: right;
  }
  .input-control{
    width: 12.2rem;
    height: 2rem;
    border: none;
    border-radius: .25rem;
    padding-left: .75rem;
    font-size: .75rem;
    background: url(../img/arrow.png) no-repeat 94% 50%;
    background-color: #dbdbdb;
    -webkit-background-size: (1.25rem/1.8) (.75rem/1.8);
    background-size: (1.25rem/1.8) (.75rem/1.8);
  }
  &.min-w{
    select{
      width: 5.91rem;
      background-position-x: 87%;
    }
    select:last-child{
      margin-left: .4rem;
    }
  }
}

/* 上传图片组件 */
.addbtn-box{
  display: inline-block;
  vertical-align: middle;
  font-size:0;
  .addbtn{
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border-radius: 0.25rem;
    border: 1px solid $theme;
    margin-right: 0.5rem;
    background: url(../img/ico.png) no-repeat -1.8rem center/auto 100%;
    &:first-child{
      background: url(../img/ico.png) no-repeat -0.1rem center/auto 100%;
    }
  }
}
.min-load{
  font-size: 0.6rem;
  line-height: 1.8;
  text-align: center;
  display: block;
  margin-bottom: 0.75rem;
  color: $theme;
}

/* 按钮 */
.btn-group{
  margin-bottom: 0.75rem;
  text-align: center;
}
.btn{
  display: inline-block;
  width: 7rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border: 1px solid $theme;
  background: $theme;
  font-size: 0.8rem;
  color: #fff;
  border-radius: 0.25rem;
  margin: 0 auto;
}


/* 说明信息 */
.info{
  &::before{
    content: '';
    display: block;
    width: (1.25rem/1.5);
    height: (.75rem/1.5);
    background: url(../img/arrow.png) no-repeat 94% 50%;
    -webkit-background-size: (1.25rem/1.5) (.75rem/1.5);
    background-size: (1.25rem/1.5) (.75rem/1.5);
    margin: 0 auto;
  }
  .info-title{
    position: relative;
    display: block;
    margin: 1.2rem auto 0;
    font-size: 1.05rem;
    width: 6rem;
    height: 1.6rem;
    text-align: center;
    background-color: #fff;
    color: #4c4c4c;
    z-index: 1;
  }
}
.info-content{
  border: 3px solid $theme;
  border-radius: .25rem;
  padding: 1.5rem .75rem 1rem;
  margin-top: -.9rem;
  p{
    font-size: .75rem;
    color: #4c4c4c;
    line-height: 1.5;
    margin-bottom: .25rem;
  }
}

/* 抽奖 */
.bg-lottery{
  position: absolute;
  width: 100%;
  min-height: 100%;
  padding-top: 157%;
  background: url(../img/zp_bg.jpg) #119d94 no-repeat top center/ 100% auto;

  .pointer{
    @extend %map;
    width: 6.1rem;
    height: 7.7rem;
    top: 10rem;
    left: 6.2rem;
    background: url(../img/arr.png) no-repeat top center/contain;

    -webkit-transform: rotate(0deg);
    -webkit-transform-origin: 3.05rem 4.65rem;
    transform: rotate(0deg);
    transform-origin: 3.05rem 4.65rem;
  }
  .action{
    @extend %map;
    width: 4.6rem;
    height: 4.6rem;
    top: 12.34rem;
    left: 7rem;
    background: url(../img/action.png) no-repeat top center/contain;
  }
}
.winning{
  display: none;
  position: fixed;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,32,36,.7);
  .win-con{
    @extend %map;
    width: 15.9rem;
    height: 20.4rem;
    top: 50%;
    left: 50%;
    margin-left: -7.95rem;
    margin-top: -10.2rem;
    background: url(../img/winning.png) no-repeat top center/contain;
  }
}
.slink{
  @extend %map;
  width: 7.6rem;
  height: 2.1rem;
  top: 17.2rem;
  left: 4.2rem;
}
#money{
  @extend %map;
  font-size: 2rem;
  color: #faf15f;
  font-weight: bold;
  top: 6.1rem;
  width: 100%;
  text-align: center;
  font-family: "Consolas", "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;
}

/* 上传成功页 */
.c-tit{
  height: 2rem;
  margin: 1rem 0;
  &.sccg{
    background: url(../img/xpcg.png) no-repeat center/contain;
  }
  &.shcg{
    background: url(../img/success-page.png) no-repeat center/contain;
  }
  &.shsb{
    background: url(../img/erro.png) no-repeat center/contain;
  }
}


/* 时间轴 */
.lod{
  display: block;
  width: .4rem;
  height: .6rem;
  background-image: url(../img/key.png);
  -webkit-background-size: contain;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 0 auto;
}
.timeline{
  padding-bottom: .75rem;

  .time-tit{
    text-align: center;
    font-size: .7rem;
    padding-bottom: 1.25rem;
  }
}
.linebox{
  position: relative;
  width: 100%;
  height: .8rem;
  border-radius: .8rem;
  border: 1px solid $theme;
  .before{
    position: absolute;
    display: block;
    width: 0;
    height: 100%;
    background-color: $theme;
    border-radius: .7rem;
  }
  .point{
    position: absolute;
    top: -1.1rem;
    left: 0;
    margin-left: -0.2rem;
    font-size: .55rem;
    &::before{
      content: attr(data-size);
      color: $theme;
    }
  }
  .lin-wite{
    position: absolute;
    top: 0;
    z-index: 12;
    width: 100%;
    font-size: 0.55rem;
    text-align: center;
  }
}

.info-check{
  margin: 1rem 0;
  &::before{
    content: none;
  }
  .info-content{
    padding: .75rem;
  }
}

/* 分享 */
.share{
  position: fixed;
  top: 0;
  left:0;
  background-color: rgba(0, 0, 0, .8);
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 80;
  img{
    width: 100%;
    margin-bottom: 1rem;
  }
  .btn{
    border-color: #fff;
    color: #fff;
    background: transparent;
  }
}


// 选择卖场控件
.stores{
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  .stores-mask{
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: .7;
    z-index: 102;
  }
  .stores-content{
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -9.4rem;
    margin-left: -6.4rem;
    width: 12.8rem;
    min-height: 2rem;
    max-height: 18.8rem;
    background: #fff;
    z-index: 104;
    overflow: hidden;
    border-radius: .2rem;
    padding-bottom: .5rem;
    &:before{
      content:"";
      position: absolute;
      bottom: .5rem;
      left: 0;
      width: 100%;
      height: 1rem;
      background-image: -webkit-linear-gradient(top, rgba(255,255,255,0),rgba(255,255,255,1));
      background-image: linear-gradient(to bottom,rgba(255,255,255,0),rgba(255,255,255,1));
    }
  }
  .st-tit{
    color: $theme;
    font-size: .9rem;
    line-height: 1.8rem;
    border-bottom: 2px solid $theme;
  }
  .st-ul{
    max-height: 13.5rem;
    overflow-y: auto;
    padding-bottom: 1.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .layer{
    padding: .6rem;
    border-bottom: 1px dotted #ddd;
    &:last-child{
      border-bottom: none;
    }
    &:active{
      background: #ddd;
    }
  }
  .st-img{
    width: 3.5rem;
    height: auto;
    max-height: 1.7rem;
    vertical-align: middle;
    margin-right: .3rem;
  }
  .st-val{
    display: inline-block;
    font-size: .7rem;
  }
  //搜索框
  .search-box{
    width: 100%;
    border-bottom: 1px solid $theme;
    display: table;
    padding: .4rem .6rem;
    .sea-input{
      display: table-cell;
      height: 1.8rem;
      width: 100%;
      vertical-align: middle;
      border-radius: .2rem 0 0 .2rem;
      border: 1px solid #b5b5b5;
      padding-left: .4rem;
      font-size: .7rem;
    }
    .sea-btn{
      width: 3rem;
      height: 1.8rem;
      margin-left: -1px;
      padding-right: 1px;
      border-radius: 0 .2rem .2rem 0;
      border: 1px solid #b5b5b5;
      background: #fff;
    }
  }
}
.table-cell{
  display: table-cell;
}
.ver-m{
  vertical-align: middle;
}
.bg-item{
  background-position: .3rem center !important;
  background-repeat: no-repeat !important;
  background-size: 3.5rem 1.5rem !important;
  padding-left: 4.2rem !important;
}
.moremarket-list{
  margin-bottom: .75rem;
}


/* 重新上传小票 */
.pop-in{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 80;
  .pop-mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
  }
  .pop-content{
    position: absolute;
    top: 50%;
    left: 0;
    width: 90%;
    min-height: 9rem;
    margin-left: 5%;
    margin-top: -4.5rem;
    padding: 0.75rem;
    padding-top: 1.5rem;
    background-color: #fff;
    z-index: 80;
    color: #fff;
    border-radius: 0.25rem;
  }
  .input-group{
    text-align: center;
  }
  .btn-group{
    margin-bottom: 0;
  }
}